package com.cwnu.onlinemall.service;

import com.cwnu.onlinemall.pojo.MallCommodity;

import java.util.List;

public interface CommodityService {
    public List<MallCommodity> SelectAll();

    public Integer insert(MallCommodity mallCommodity);

    public MallCommodity selectById(Integer id);

    public List<MallCommodity> selectByCategoryName(String category);

    public Integer updateById(MallCommodity mallCommodity);

    public Integer deleteById(Integer id);
}
